/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tag;

import javax.el.ValueExpression;
import javax.faces.webapp.UIComponentELTag;

/**
 *
 * @author steve
 */
public class ReportTag extends UIComponentELTag {

    private ValueExpression source;
    private ValueExpression onlyDownloadLink;
    private ValueExpression name;
    private ValueExpression format;
    private ValueExpression style;
    private ValueExpression styleClass;

    public ValueExpression getFormat() {
        return format;
    }

    public void setFormat(ValueExpression format) {
        this.format = format;
    }

    public ValueExpression getName() {
        return name;
    }

    public void setName(ValueExpression name) {
        this.name = name;
    }

    public ValueExpression getOnlyDownloadLink() {
        return onlyDownloadLink;
    }

    public void setOnlyDownloadLink(ValueExpression onlyDownloadLink) {
        this.onlyDownloadLink = onlyDownloadLink;
    }

    public ValueExpression getSource() {
        return source;
    }

    public void setSource(ValueExpression source) {
        this.source = source;
    }

    public ValueExpression getStyle() {
        return style;
    }

    public void setStyle(ValueExpression style) {
        this.style = style;
    }

    public ValueExpression getStyleClass() {
        return styleClass;
    }

    public void setStyleClass(ValueExpression styleClass) {
        this.styleClass = styleClass;
    }

    public void setProperties() {
    }

    @Override
    public void release() {
        super.release();
        source = null;
        onlyDownloadLink = null;
        name = null;
        format = null;
        style = null;
        styleClass = null;
    }

    @Override
    public String getComponentType() {
        return ("Report");
    }

    @Override
    public String getRendererType() {
        return ("Report");
    }
}
